﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Web.Views.AgentManager
{
    public partial class OrderList : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Easydp.Controllers.AgentController.AgentInfo != null)
                    HiddenField1.Value = Easydp.Controllers.AgentController.AgentInfo.AgentID.ToString();
                else
                    Response.Redirect("../Shared/login.aspx");
            }
        }

       
        protected void Button3_Click(object sender, EventArgs e)
        {

            GridView1.DataBind();
        }
      
        
    }
}
